package com.gome.wechat.program.service.impl;

import com.gome.wechat.program.dao.TagRepo;
import com.gome.wechat.program.entity.Tag;
import com.gome.wechat.program.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by liwei113 on 2017/10/31 0031.
 */
@Service
public class TagServiceImpl implements TagService {

    @Autowired
    TagRepo tagRepo;

    @Override
    public List<Tag> findByType(Integer type) {
        return tagRepo.findByType(type);
    }
}
